package cqrtplm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 
 * @TableName RT_CHANGEAFFECT_MBOM
 */
@TableName(value ="RT_CHANGEAFFECT_MBOM")
public class RtChangeaffectMbomDO implements Serializable {
    /**
     * 
     */
    private String changeno;

    private String parttype;
    /**
     * 
     */
    private String partnumber;

    /**
     * 
     */
    private String customer;

    /**
     * 
     */
    private String developmentorder;

    /**
     * 
     */
    private String model;
    /**
     *
     */
    private String v2model;
    /**
     * 
     */
    private String finishedproductcode;

    /**
     * 
     */
    private String mbom;

    /**
     * 
     */
    private String isadjust;

    /**
     * 
     */
    private String materialcode;

    /**
     * 
     */
    private String materialdescription;

    /**
     * 
     */
    private String totalusage;

    /**
     * 
     */
    private String segmentnumber;

    /**
     * 
     */
    private String productioninvietnam;

    /**
     * 
     */
    private String statusrequiretable;

    /**
     * 
     */
    private String finishedproductcodesstatus;

    /**
     * 
     */
    private String createDate;

    /**
     * 
     */
    private String createBy;

    /**
     * 
     */
    private String objectid;

    /**
     * 
     */
    private String objecttype;

    /**
     * 
     */
    private String objectversion;

    /**
     * 
     */
    private String FirstParent;

    /**
     * 
     */
    private String factory;

    /**
     * 
     */
    private String str2;

    /**
     * 
     */
    private String str3;

    /**
     * 
     */
    private String str4;

    /**
     * 
     */
    private String str5;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public String getChangeno() {
        return changeno;
    }

    /**
     * 
     */
    public void setChangeno(String changeno) {
        this.changeno = changeno;
    }

    /**
     * 
     */
    public String getPartnumber() {
        return partnumber;
    }

    /**
     * 
     */
    public void setPartnumber(String partnumber) {
        this.partnumber = partnumber;
    }

    /**
     * 
     */
    public String getCustomer() {
        return customer;
    }

    /**
     * 
     */
    public void setCustomer(String customer) {
        this.customer = customer;
    }

    /**
     * 
     */
    public String getDevelopmentorder() {
        return developmentorder;
    }

    /**
     * 
     */
    public void setDevelopmentorder(String developmentorder) {
        this.developmentorder = developmentorder;
    }

    /**
     * 
     */
    public String getModel() {
        return model;
    }

    /**
     * 
     */
    public void setModel(String model) {
        this.model = model;
    }

    /**
     * 
     */
    public String getFinishedproductcode() {
        return finishedproductcode;
    }

    /**
     * 
     */
    public void setFinishedproductcode(String finishedproductcode) {
        this.finishedproductcode = finishedproductcode;
    }

    /**
     * 
     */
    public String getMbom() {
        return mbom;
    }

    /**
     * 
     */
    public void setMbom(String mbom) {
        this.mbom = mbom;
    }

    /**
     * 
     */
    public String getIsadjust() {
        return isadjust;
    }

    /**
     * 
     */
    public void setIsadjust(String isadjust) {
        this.isadjust = isadjust;
    }

    /**
     * 
     */
    public String getMaterialcode() {
        return materialcode;
    }

    /**
     * 
     */
    public void setMaterialcode(String materialcode) {
        this.materialcode = materialcode;
    }

    /**
     * 
     */
    public String getMaterialdescription() {
        return materialdescription;
    }

    /**
     * 
     */
    public void setMaterialdescription(String materialdescription) {
        this.materialdescription = materialdescription;
    }

    /**
     * 
     */
    public String getTotalusage() {
        return totalusage;
    }

    /**
     * 
     */
    public void setTotalusage(String totalusage) {
        this.totalusage = totalusage;
    }

    /**
     * 
     */
    public String getSegmentnumber() {
        return segmentnumber;
    }

    /**
     * 
     */
    public void setSegmentnumber(String segmentnumber) {
        this.segmentnumber = segmentnumber;
    }

    /**
     * 
     */
    public String getProductioninvietnam() {
        return productioninvietnam;
    }

    /**
     * 
     */
    public void setProductioninvietnam(String productioninvietnam) {
        this.productioninvietnam = productioninvietnam;
    }

    /**
     * 
     */
    public String getStatusrequiretable() {
        return statusrequiretable;
    }

    /**
     * 
     */
    public void setStatusrequiretable(String statusrequiretable) {
        this.statusrequiretable = statusrequiretable;
    }

    /**
     * 
     */
    public String getFinishedproductcodesstatus() {
        return finishedproductcodesstatus;
    }

    /**
     * 
     */
    public void setFinishedproductcodesstatus(String finishedproductcodesstatus) {
        this.finishedproductcodesstatus = finishedproductcodesstatus;
    }

    /**
     * 
     */
    public String getCreateDate() {
        return createDate;
    }

    /**
     * 
     */
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    /**
     * 
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 
     */
    public String getObjectid() {
        return objectid;
    }

    /**
     * 
     */
    public void setObjectid(String objectid) {
        this.objectid = objectid;
    }

    /**
     * 
     */
    public String getObjecttype() {
        return objecttype;
    }

    /**
     * 
     */
    public void setObjecttype(String objecttype) {
        this.objecttype = objecttype;
    }

    /**
     * 
     */
    public String getObjectversion() {
        return objectversion;
    }

    /**
     * 
     */
    public void setObjectversion(String objectversion) {
        this.objectversion = objectversion;
    }

    /**
     * 
     */
    public String getFirstParent() {
        return FirstParent;
    }

    /**
     * 
     */
    public void setFirstParent(String FirstParent) {
        this.FirstParent = FirstParent;
    }

    /**
     * 
     */
    public String getFactory() {
        return factory;
    }

    /**
     * 
     */
    public void setFactory(String factory) {
        this.factory = factory;
    }

    /**
     * 
     */
    public String getStr2() {
        return str2;
    }

    /**
     * 
     */
    public void setStr2(String str2) {
        this.str2 = str2;
    }

    /**
     * 
     */
    public String getStr3() {
        return str3;
    }

    /**
     * 
     */
    public void setStr3(String str3) {
        this.str3 = str3;
    }

    /**
     * 
     */
    public String getStr4() {
        return str4;
    }

    /**
     * 
     */
    public void setStr4(String str4) {
        this.str4 = str4;
    }

    /**
     * 
     */
    public String getStr5() {
        return str5;
    }

    /**
     * 
     */
    public void setStr5(String str5) {
        this.str5 = str5;
    }

    public String getV2model() {
        return v2model;
    }

    public void setV2model(String v2model) {
        this.v2model = v2model;
    }

    public String getParttype() {
        return parttype;
    }

    public void setParttype(String parttype) {
        this.parttype = parttype;
    }

    public RtChangeaffectMbomDO(String changeno, String partnumber, String customer, String developmentorder,
                                String model, String v2model, String finishedproductcode, String mbom, String isadjust,
                                String materialcode, String materialdescription, String totalusage,
                                String segmentnumber, String productioninvietnam, String statusrequiretable,
                                String finishedproductcodesstatus, String createBy, String objectid, String objecttype,
                                String objectversion, String FirstParent, String factory, String str2, String str3,
                                String str4, String str5,String parttype) {
        this.changeno = changeno;
        this.parttype = parttype;
        this.partnumber = partnumber;
        this.customer = customer;
        this.developmentorder = developmentorder;
        this.model = model;
        this.v2model = v2model;
        this.finishedproductcode = finishedproductcode;
        this.mbom = mbom;
        this.isadjust = isadjust;
        this.materialcode = materialcode;
        this.materialdescription = materialdescription;
        this.totalusage = totalusage;
        this.segmentnumber = segmentnumber;
        this.productioninvietnam = productioninvietnam;
        this.statusrequiretable = statusrequiretable;
        this.finishedproductcodesstatus = finishedproductcodesstatus;
        this.createBy = createBy;
        this.objectid = objectid;
        this.objecttype = objecttype;
        this.objectversion = objectversion;
        this.FirstParent = FirstParent;
        this.factory = factory;
        this.str2 = str2;
        this.str3 = str3;
        this.str4 = str4;
        this.str5 = str5;
    }

    public RtChangeaffectMbomDO(String changeno, String partnumber) {
        this.changeno = changeno;
        this.partnumber = partnumber;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getChangeno() == null) ? 0 : getChangeno().hashCode());
        result = prime * result + ((getPartnumber() == null) ? 0 : getPartnumber().hashCode());
        result = prime * result + ((getCustomer() == null) ? 0 : getCustomer().hashCode());
        result = prime * result + ((getDevelopmentorder() == null) ? 0 : getDevelopmentorder().hashCode());
        result = prime * result + ((getModel() == null) ? 0 : getModel().hashCode());
        result = prime * result + ((getV2model() == null) ? 0 : getV2model().hashCode());
        result = prime * result + ((getFinishedproductcode() == null) ? 0 : getFinishedproductcode().hashCode());
        result = prime * result + ((getMbom() == null) ? 0 : getMbom().hashCode());
        result = prime * result + ((getIsadjust() == null) ? 0 : getIsadjust().hashCode());
        result = prime * result + ((getMaterialcode() == null) ? 0 : getMaterialcode().hashCode());
        result = prime * result + ((getMaterialdescription() == null) ? 0 : getMaterialdescription().hashCode());
        result = prime * result + ((getTotalusage() == null) ? 0 : getTotalusage().hashCode());
        result = prime * result + ((getSegmentnumber() == null) ? 0 : getSegmentnumber().hashCode());
        result = prime * result + ((getProductioninvietnam() == null) ? 0 : getProductioninvietnam().hashCode());
        result = prime * result + ((getStatusrequiretable() == null) ? 0 : getStatusrequiretable().hashCode());
        result = prime * result + ((getFinishedproductcodesstatus() == null) ? 0 : getFinishedproductcodesstatus().hashCode());
        result = prime * result + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
        result = prime * result + ((getObjecttype() == null) ? 0 : getObjecttype().hashCode());
        result = prime * result + ((getObjectversion() == null) ? 0 : getObjectversion().hashCode());
        result = prime * result + ((getFirstParent() == null) ? 0 : getFirstParent().hashCode());
        result = prime * result + ((getFactory() == null) ? 0 : getFactory().hashCode());
        result = prime * result + ((getStr2() == null) ? 0 : getStr2().hashCode());
        result = prime * result + ((getStr3() == null) ? 0 : getStr3().hashCode());
        result = prime * result + ((getStr4() == null) ? 0 : getStr4().hashCode());
        result = prime * result + ((getStr5() == null) ? 0 : getStr5().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", changeno=").append(changeno);
        sb.append(", partnumber=").append(partnumber);
        sb.append(", customer=").append(customer);
        sb.append(", developmentorder=").append(developmentorder);
        sb.append(", model=").append(model);
        sb.append(", v2model=").append(v2model);
        sb.append(", finishedproductcode=").append(finishedproductcode);
        sb.append(", mbom=").append(mbom);
        sb.append(", isadjust=").append(isadjust);
        sb.append(", materialcode=").append(materialcode);
        sb.append(", materialdescription=").append(materialdescription);
        sb.append(", totalusage=").append(totalusage);
        sb.append(", segmentnumber=").append(segmentnumber);
        sb.append(", productioninvietnam=").append(productioninvietnam);
        sb.append(", statusrequiretable=").append(statusrequiretable);
        sb.append(", finishedproductcodesstatus=").append(finishedproductcodesstatus);
        sb.append(", createDate=").append(createDate);
        sb.append(", createBy=").append(createBy);
        sb.append(", objectid=").append(objectid);
        sb.append(", objecttype=").append(objecttype);
        sb.append(", objectversion=").append(objectversion);
        sb.append(", FirstParent=").append(FirstParent);
        sb.append(", factory=").append(factory);
        sb.append(", str2=").append(str2);
        sb.append(", str3=").append(str3);
        sb.append(", str4=").append(str4);
        sb.append(", str5=").append(str5);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}